<?php
#FORMS TEXTS
define('INF_OPTIONS', msg('fw-options'));
define('INF_SEARCH', msg('fw-search'));
define('INF_NEW', msg('add item'));
define('INF_DEL', msg('fw-delete'));
define('INF_VISIBLE', msg('fw-visible'));
define('INF_DUP', msg('fw-duplicate'));
define('INF_REMOVE', msg('fw-remove'));
define('INF_BACKUP', msg('fw-backup'));
define('INF_EDIT', msg('fw-edit'));
define('INF_SURE', msg('fw-sure'));
define('INF_YES', msg('fw-yes'));
define('INF_NO', msg('fw-no'));
define('INF_SAVE', msg('fw-save'));
define('INF_CANCEL', msg('fw-cancel'));
define('INF_ADD', msg('fw-add'));
define('INF_REQUIRED', msg('missing required information') . ' ');
define('INF_UNIQUE', msg('alert_legal_entity_unique').' ');
define('INF_FILE', 'The file {items} you are trying to upload is not supported. Select another file.');
define('INF_FILES_REM', 'file removed');
define('INF_HEADER_TXT', '');
define('INF_LIST_EMPTY', '<div class="fw-info_action">no records</div>');
define('INF_FILE_BIG', 'b:');
define('INF_FILE_SMALL', 's:');
define('INF_FILE_DESCR', 'd:');
define('INF_LISTING_ALL', '<img src="im/listing.png" title="create_listing" />');
define('INF_XLS_EXPORT', '<img src="im/export_excel.png" /> excel export');
define('INF_EXT','Ext.');
define('CSS', 'framework.css');
define('MAIN_OPTION','mod');
define('FRAMEWORK_URL', $_SERVER['PHP_SELF'].'?'.MAIN_OPTION.'=');
define('FRAMEWORK_IMG', 'im/');//new icons
define('FRAMEWORK_SQL_USER_LIST', 'SELECT id AS user_id, CONCAT(first_name, " ", last_name) AS user_name FROM users WHERE id IN({in})');
define('FCK', 0);
define('MCE', 1);
define('WYM', 0);
define('FPDF', 0);
define('WATERMARK', '');
define('FW_LOG_FORMAT', 'Y-m-d g:i a');

define('CALENDAR_DAY_MONTH_YEAR','dMY');
define('CALENDAR_FORMAT','Y-m-d');
define('CALENDAR_JS_FORMAT',translate_date(CALENDAR_FORMAT,'php_js'));
define('CALENDAR_JS_SEPARATE','-:'); // first for date, last for time
define('CALENDAR_DATE_HACK_YMD','321'); //we need it if user want custom formating of date
define('CALENDAR_DATE_HACK_PATTERN','!(.*)/(.*)/([0-9a-z]*)!iu'); //we need it if user want custom formating of date
//beem set for include js file for sorting table
define('SORT_TAB', 0);
define('AUTOCOMPLETE', 1);
define('SEARCH_HISTORY',1);

define('LOG_CHANGE', '0');
define('LOG_ADDED', '1');
define('LOG_UPDATED', '1');
define('LOG_REMOVED', '1');
define('DISABLE_SUBMIT',1); #0 for disable .. disable submit
define('SET_SEARCH_OPTION', 1); #1 for re-gen

Function fw_layout_head($title) {
	if ($_REQUEST['ajax'] != 1) {
		$r = '
		<table cellspacing="10" width="100%"><tr><td valign="top">';
	}
	$r .= '<div class="head">'.$title.'</div><br />';
	return $r;
}

Function fw_layout_foot($descr) {
	if ($_REQUEST['ajax'] != 1) {
		$r = '
		</td></tr></table>';
	}
	$r .= $descr;
	return $r;
}

?>